Computer controlled anesthesia